<?php
namespace app\index\controller;

use think\Jssdk;
use think\View;


class Index
{
    public function index()
    {
        $view=new View();
        return $view->fetch();
    }
    public function verification(){
        $view = new View();
        return $view->fetch();
    }
    public function info(){
        $view = new View();
        return $view->fetch();
    }
     public function now(){
            $view = new View();
            return $view->fetch();
     }
    public function test(){
        $appId="wx0f6f665d67e6707c";
        $appSecret="6acbb283462c4c72e48b4b13f1dfc06a";
        $jssdk=new Jssdk($appId,$appSecret);
        $signPackage = $jssdk->GetSignPackage();
        $view = new View();
        $view->assign("signPackage",$signPackage);

        return $view->fetch();
     }
}
